<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>for</title>
	<script type="text/javascript">


	// for (初始动作;条件;后置动作) {
	// 	每次要循环执行的代码块
	// };


	// for (i=1; i <= 100; i++) {
	// 	document.write("<h1>这个是一个标题</h1>");
	// };

	document.write("<table border='1'>");

	for (i=1; i <= 9; i++) {
		document.write("<tr>");

		for (var j = 1; j <=9; j++) {
			document.write("<td>"+i+'*'+j+"</td>");
		};

		document.write("</tr>");
	};

	document.write("</table>");

	
	

	</script>
</head>
<body>
	
	
</body>
</html>